package net.hn.hnms.biz.performance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.hn.hnms.biz.performance.vo.PerformanceMetricsVo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;

import java.io.Serializable;

@Data
@TableName("performance_template")
public class PerformanceTemplate extends BaseModel implements Serializable {


    @TableId(value = "performance_template_id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer performanceTemplateId;


    @ApiModelProperty(value = "模板名称")
    private String performanceTemplateName;


    @ApiModelProperty(value = "指标IDs")
    private String metricsIds;


    @ApiModelProperty(value = "描述")
    private String remark;


    @TableField(exist = false)
    @ApiModelProperty(value = "指标集合")
    private ResponsePage<PerformanceMetricsVo> metricsList;

//    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "权重")
//    private String metricsData;
    private String metricsData;



}
